import {_decorator, Component, director} from 'cc';

const { ccclass } = _decorator;

@ccclass('UiDialog')
export class UiDialog extends Component {
    //显示
    show(){

    }

    //隐藏
    hide(){

    }

    onEnable() {
        director.pause()
    }

    onDisable() {
        director.resume()
    }
}


